import React, { Component } from 'react'
import Routerview from '../router/Routerview'
import RouterLink from '../router/RouterLink'
export class Home extends Component {
  render() {
    const {routerConfig}=this.props
    return (
      
      <div>
          <header>默认一级路由</header>
          <main>
             <Routerview routerConfig={routerConfig}></Routerview>
          </main>
          <footer>
              <RouterLink routerConfig={routerConfig}></RouterLink>

          </footer>
      </div>
    )
  }
}

export default Home